package com.liukai.bishe.model.doman.transaction;

import java.io.Serializable;

public class TransactionUseTime implements Serializable {

    private String id; // ID

    private String transactionname; // 事务名称

    private String starttime; // 开始时间

    private String stoptime; // 结束时间

    private String thistotaltime; // 本次事务执行时间

    private String username; // 用户名

    private String startdate;

    private String harvest;

    public TransactionUseTime(){

    }


    public TransactionUseTime(String id, String transactionname, String starttime, String stoptime,
                              String thistotaltime, String username, String startdate, String harvest) {
        this.id = id;
        this.transactionname = transactionname;
        this.starttime = starttime;
        this.stoptime = stoptime;
        this.thistotaltime = thistotaltime;
        this.username = username;
        this.startdate = startdate;
        this.harvest = harvest;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTransactionname() {
        return transactionname;
    }

    public void setTransactionname(String transactionname) {
        this.transactionname = transactionname;
    }

    public String getStarttime() {
        return starttime;
    }

    public void setStarttime(String starttime) {
        this.starttime = starttime;
    }

    public String getStoptime() {
        return stoptime;
    }

    public void setStoptime(String stoptime) {
        this.stoptime = stoptime;
    }

    public String getThistotaltime() {
        return thistotaltime;
    }

    public void setThistotaltime(String thistotaltime) {
        this.thistotaltime = thistotaltime;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getStartdate() {
        return startdate;
    }

    public void setStartdate(String startdate) {
        this.startdate = startdate;
    }

    public String getHarvest() {
        return harvest;
    }

    public void setHarvest(String harvest) {
        this.harvest = harvest;
    }

    @Override
    public String toString() {
        return "TransactionUseTime{" +
                "id='" + id + '\'' +
                ", transactionname='" + transactionname + '\'' +
                ", starttime='" + starttime + '\'' +
                ", stoptime='" + stoptime + '\'' +
                ", thistotaltime='" + thistotaltime + '\'' +
                ", username='" + username + '\'' +
                ", startdate='" + startdate + '\'' +
                ", harvest='" + harvest + '\'' +
                '}';
    }
}
